{{#if this.is_empty}}
<div class="content-block" id="cart_empty" style="margin-top: 2rem;">
	<div class="content-block-inner">
		<div class="shopping_car" style="margin-top: 2rem;">
			<img src="img/shouye/gouwuchechahuax.png" alt="" />
			<p class="kongggouwuche mu_fonts mu_margin">购物车是空的，您可以</p>
			<a href="#" onclick="go_href_('#/')" class="button color-gray mu_fonts">去首页逛逛</a>
		</div>
	</div>
</div>
{{/if}}
<div class="list-block media-list" style="margin-top: 2.8rem;" >
	<ul id="shopping-content">
		<!---------------------->
		{{#if this.is_empty}}
		{{else}}
			{{#each this.data}}
				<li class="swipeout" style="border-bottom: 5px solid #f7f7f8">
		            <div class="item-cart-btn">
		                <p class="p-left" style="margin-left: 5px;" ><img src="#" data-img_url = "{{head_img}}" style="width: 1.2rem;height: .8rem;margin-right: 5px;" />{{seller_name}}</p>
		                <p class="p-right" name="edit" data-goods_id="{{goods_id}}" onclick="edit_cart_(this,{{count}});TotalPrice();">编辑</p>
		            </div>
		            <div name="goods_content" class="shopcar item-content swipeout-content commodity" data-id="{{cart_id}}" data-goods_id="{{goods_id}}">
			            <div class="item-media">
			 				<div class="cart-checkbox">
								<input type="checkbox" class="check goods-check goodsCheck" onclick="good_btn(this);" checked="checked" >
			                </div>
			            	<img data-img_url="{{image}}" width="78" height="78"
			            	 class="preview_load lazy-fadein lazy-loaded sc_img" src="#"  onclick="go_href_('#/goods_detail/{{goods_id}}')">
			            </div> 
			            <div class="item-inner"> 
			            	<div class="item-title-row" onclick="go_href_('#/goods_detail/{{goods_id}}')">
					            <div class="item-title">{{goods_name}}</div>
				            </div>
				            <!--<div class="item-subtitle">{{seller_name}}</div>-->
				            <div class="item-subtitle danjia"><a>￥</a><span>{{price}}</span></div>
				            <div class="item-text" onclick="go_href_('#/goods_detail/{{goods_id}}')">
				                	重量：{{weight}}g
				                <div class="liang-numder">x<span name="goods_count">{{count}}</span></div>
				            </div>
				            <div class="item-cart-tan">
					            <div class="cart-tan-left">
					                <span class="span_jian" onclick="span_jian(this)">-</span>
					                <input type="text" name="goods_count" value="{{count}}" oninput="if(value.length>3)value=999" />
					                <span class="span_jia sp_jia" onclick="span_jia(this)">+</span>
					            </div>
				            </div>
			            </div> 
		            </div>
		            <div class="swipeout-actions-right">
				        <a href="#" onclick="del_cart({{goods_id}})" class="manage_action2 bg-red">删除</a>
				    </div>
		        </li>
			{{/each}}
		{{/if}}
	</ul>

</div>